using System;
using FluentNHibernate.Automapping;
using FluentNHibernate.Automapping.Alterations;
using MvcMall.Core.Domains;

namespace MvcMall.Data.NHibernateMaps
{
    public class StoreGradeMap : IAutoMappingOverride<StoreGrade>
    {
        public void Override(AutoMapping<StoreGrade> mapping)
        {
            mapping.HasMany(c => c.Stores);
        }
    }
}